package com.jr.service.impl;

import com.jr.mapper.ParkingRecordsVehiclesMapper;
import com.jr.service.ParkingRecordsVehiclesService;
import com.jr.vo.ParkingRecordsVehicles;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * 车辆和停车记录关联查询服务实现类
 */
@Service
public class ParkingRecordsVehiclesServiceImpl implements ParkingRecordsVehiclesService {
    
    @Resource
    private ParkingRecordsVehiclesMapper parkingRecordsVehiclesMapper;
    
    /**
     * 查询今天的停车记录和车辆信息
     * @return 今天的停车记录和车辆信息列表
     */
    @Override
    public List<ParkingRecordsVehicles> findTodayParkingRecordsVehicles() {
        return parkingRecordsVehiclesMapper.findTodayParkingRecordsVehicles();
    }
}